//
//  CWCAboutMineViewController.m
//  ChuanNews
//
//  Created by dllo on 16/4/16.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CWCAboutMineViewController.h"
#import "BaseHeader.h"
#import "CWCMineViewController.h"
@interface CWCAboutMineViewController ()

@end

@implementation CWCAboutMineViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"关于我们";
    
    UIButton *back = [UIButton buttonWithType:UIButtonTypeSystem];
    [back setFrame:CGRectMake(10 , 25 , 30 , 30 )];
    [self.view addSubview:back];
    [back release];
    [back setImage:[UIImage imageNamed:@"iconfont-fanhui.png"] forState:UIControlStateNormal];
    [back addTarget:self action:@selector(action:) forControlEvents:UIControlEventTouchUpInside];
    
    UIImageView *picImagev = [[UIImageView alloc]initWithFrame:CGRectMake(100, 60, WIDTH - 200, 300)];
    picImagev.image = [UIImage imageNamed:@"ff.jpeg"];
    [self.view addSubview:picImagev];
    [picImagev release];
    
    UILabel *titleLabel  = [[UILabel alloc]initWithFrame:CGRectMake(WIDTH / 2 - 100, HEIGHT / 2, 200, 40)];
    titleLabel.font = [UIFont systemFontOfSize: 20];
    titleLabel.text = @"有态度的新闻门户";
    titleLabel.textAlignment = 1;
    [self.view addSubview:titleLabel];
    [titleLabel release];
    
    UILabel *publicLabel = [[UILabel alloc]initWithFrame:CGRectMake(50, HEIGHT - 140, WIDTH - 100, 80)];
    publicLabel.text = @"V1.1.0更新序号:Build 477 miliao_news";
    publicLabel.textColor = [UIColor grayColor];
    publicLabel.textAlignment = 1;
    [self.view addSubview:publicLabel];
    [publicLabel release];
    
    UILabel *MyLabel = [[UILabel alloc]initWithFrame:CGRectMake(50, HEIGHT - 80, WIDTH - 100, 50)];
    MyLabel.text = @"开发者:       CWC";
    MyLabel.textAlignment = 1;
    [self.view addSubview:MyLabel];
    [MyLabel release];
    
    
    UILabel *emailLabel = [[UILabel alloc]initWithFrame:CGRectMake(50, HEIGHT - 50, WIDTH - 100, 50)];
    emailLabel.text = @"邮件地址:private@service.CWC.com";
    emailLabel.textAlignment = 1;
    [self.view addSubview:emailLabel];
    [emailLabel release];
    
    
}

-(void)action:(UIButton *)button{
    [self dismissViewControllerAnimated:YES completion:^{
    
    }];
}

- (void)viewDidAppear:(BOOL)animated{
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
